<?php
function __autoload($name) {
  echo "Want to load $name.\n";
  throw new Exception("Unable to load $name.");
}

if (empty($_GET['view'])) {
  $view = 'home';
} else {
  $view = htmlspecialchars($_GET['view']);
}